package com.you.swagger.util;

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.nio.ByteBuffer;
import java.nio.channels.Channels;
import java.nio.channels.FileChannel;
import java.nio.channels.WritableByteChannel;

/**
 * @Description
 * @Author yough
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2021/1/13
 */
public class MyClassLoader extends ClassLoader {

    public Class<?> defineClass(String name, byte[] b) {
        Class<?> ret = super.defineClass(name.replace('/', '.'), b, 0, b.length);
        return ret;
    }
}
